package com.my.zidingyikongjian.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.Toast;

import com.my.zidingyikongjian.R;

public class DrawBzeierActivity extends AppCompatActivity {
    private String flag;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_draw_bzeier);

        Intent dataIntent = getIntent();
        flag = dataIntent.getStringExtra("six");

        initView();
    }

    private void initView() {
        if (flag != null) {
            if (flag.equals("1")) {

            }
        } else {
            Toast.makeText(this, "flag == null", Toast.LENGTH_SHORT).show();
        }
    }
}
